package com.jxdinfo.hussar.example.cggl.materialpurchase.dao;

import com.jxdinfo.hussar.example.cggl.materialpurchase.model.MaterialPurchase;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.jxdinfo.hussar.example.cggl.materialpurchase.model.MaterialPurchase;
import com.jxdinfo.hussar.example.cggl.materialpurchase.dto.MaterialPurchaseMaterialpurchasedataset2;
import com.jxdinfo.hussar.example.cggl.materialpurchase.dto.MaterialPurchaseMaterialpurchasedataset1;
import com.baomidou.mybatisplus.core.toolkit.Constants;

/**
 * 采购信息表Mapper接口
 */
@Mapper
@Repository("cggl.materialpurchase.MaterialPurchaseMapper")
public interface MaterialPurchaseMapper {

    /**
     * 表单查询采购信息表
     */
    MaterialPurchase formQuery(@Param(value = "id") String id);

    /**
     * 查询采购信息表
     */
    List<MaterialPurchase> hussarQueryPage(Page<MaterialPurchase> page, @Param(Constants.WRAPPER) QueryWrapper<MaterialPurchase> ew);

    /**
     * 查询采购信息表
     */
    List<MaterialPurchase> hussarQueryPage_order_custom(Page<MaterialPurchase> page, @Param(Constants.WRAPPER) QueryWrapper<MaterialPurchase> ew);

    /**
     * 查询采购信息表
     */
    List<MaterialPurchase> hussarQuerymaterialPurchaseCondition_1Page(Page<MaterialPurchase> page, @Param("materialpurchasedataset1") MaterialPurchaseMaterialpurchasedataset1 materialpurchasedataset1, @Param(Constants.WRAPPER) QueryWrapper<MaterialPurchase> ew);

    /**
     * 查询采购信息表
     */
    List<MaterialPurchase> hussarQuerymaterialPurchaseCondition_1Page_order_custom(Page<MaterialPurchase> page, @Param("materialpurchasedataset1") MaterialPurchaseMaterialpurchasedataset1 materialpurchasedataset1, @Param(Constants.WRAPPER) QueryWrapper<MaterialPurchase> ew);

    /**
     * 查询采购信息表
     */
    List<MaterialPurchase> hussarQuery();

    /**
     * 查询采购信息表
     */
    List<MaterialPurchase> hussarQuerymaterialPurchaseCondition_2(@Param("materialpurchasedataset2") MaterialPurchaseMaterialpurchasedataset2 materialpurchasedataset2);
}
